package com.mindskip.xzs.properties;

import com.mindskip.xzs.config.QnConfig;
import com.mindskip.xzs.security.PasswordKey;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

@ConfigurationProperties(prefix = "my")
public class MyProperties {

    // 白名单
    private List<String> securityIgnoreUrls;

    // 公钥和私钥
    private PasswordKey pwdKey;

    private QnConfig qn;

    public List<String> getSecurityIgnoreUrls() {
        return securityIgnoreUrls;
    }

    public void setSecurityIgnoreUrls(List<String> securityIgnoreUrls) {
        this.securityIgnoreUrls = securityIgnoreUrls;
    }

    public PasswordKey getPwdKey() {
        return pwdKey;
    }

    public void setPwdKey(PasswordKey pwdKey) {
        this.pwdKey = pwdKey;
    }

    public QnConfig getQn() {
        return qn;
    }

    public void setQn(QnConfig qn) {
        this.qn = qn;
    }
}
